package com.steakliu.sun.protocol;

import lombok.Data;

import java.io.Serializable;

/**
 * 功能说明： rpc自定义协议
 * <p>
 * Original @Author: steakliu-刘牌, 2023-01-08  00:47
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
@Data
public class SunProtocol<T> implements Serializable {
    /**
     * 消息头
     */
    private MsgHeader msgHeader;
    /**
     * 消息体
     */
    private T body;
}
